<include file="Public:header" />
<div id="zoneHeader">
    <h2>增加服务器</h2>
    <ul>
        <li><a href="?c={$Think.const.CONTROLLER_NAME}" class="btn">返回</a></li>
    </ul>
</div><!--/#zoneHeader-->
<style>
#zoneBodyContent .dl2Col {}
#zoneBodyContent .dl2Col dt { width:200px; }
#zoneBodyContent .dl2Col dd { margin-left:200px; }
</style>
<div id="zoneBody" class="noFooter">
    <div id="zoneBodyContent">
        <form action="?c={$Think.const.CONTROLLER_NAME}&a=save" id="formEdit">
            <input type="hidden" name="id" />
            <dl class="dl2Col">
                <dt>服务器名称：</dt>
                <dd><input type="text" name="name" class="fW80" /></dd>
                <dt>IP：</dt>
                <dd><input type="text" name="ip" class="fW50"></dd>
                <dt>获取数据基准地址：</dt>
                <dd><input type="text" name="base_url" class="fW80"></dd>
                <dt>状态：</dt>
                <dd>
                    <label><input type="radio" name="status" value="1"><span>运行</span></label>
                    <label><input type="radio" name="status" value="0"><span>停止</span></label>
                    <p class="formTips2">状态为运行时，系统会采集其运行数据，如果为停止则不会采集服务器数据</p>
                </dd>
                <dt>备注：</dt>
                <dd><textarea name="comment" class="fW90"></textarea></dd>
            </dl>
            <ul class="btnList">
                <li><button type="submit" class="btnFormEditSave">保存</button></li>
                <li><a href="?c={$Think.const.CONTROLLER_NAME}" class="btn">返回</a></li>
            </ul>
        </form>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<script>
new Form($('#formEdit'), new Model);
</script>
<include file="Public:footer" />
